home *** CD-ROM | disk | FTP | other *** search
-
- #ifndef _LIBRARIES_SHUTDOWN_H
- #define _LIBRARIES_SHUTDOWN_H 1
-
- #ifndef _EXEC_TYPES_H
- #include <exec/types.h>
- #endif /* !_EXEC_TYPES_H */
-
- #ifndef _EXEC_NODES_H
- #include <exec/nodes.h>
- #endif /* !_EXEC_NODES_H */
-
- #define SDB_RESET 0
- #define SDF_RESET (1 << 0)
-
- #define SD_CHECK 0
- #define SD_EXIT 1
-
- #define SHUTDOWN_NORMAL 0
- #define SHUTDOWN_FAST 1
- #define SHUTDOWN_EXTERN 2
-
- typedef struct ShutdownInfo
- {
- struct MinNode sdi_Node;
- STRPTR sdi_Name;
- struct Hook *sdi_Hook;
- } ShutdownInfo;
-
- APTR AddShutdownInfoTagList (struct Hook *Hook, STRPTR Name, struct TagItem *TagList);
- LONG RemShutdownInfo (struct ShutdownInfo *Info);
- LONG Shutdown (ULONG mode);
-
- #endif /* _LIBRARIES_SHUTDOWN_H */
-